package com.ldc.service.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ldc.model.Location;

import java.util.List;

/**
 * 功能描述
 *
 * @author liudi
 * @since 2023/7/23
 */
public interface LocationService extends IService<Location> {

    List<Location> findListBy(LambdaQueryWrapper<Location> queryWrapper);

    int batchDeleteBy(LambdaQueryWrapper<Location> queryWrapper);

    IPage<Location> findPageBy(int page, int limit, LambdaQueryWrapper<Location> queryWrapper);

    IPage<Location> findPageByQuery(int page, int limit, String query);
}
